const baseURL= 'https://garb.ibears.top/api/';

//auth
const login = baseURL + 'admin/user/login';
const enable = baseURL + 'admin/user/enable/';
const logout = baseURL + 'admin/user/logout';
const userList = baseURL + 'admin/user/page';
const userSave = baseURL + 'admin/user/save';
const userPassword = baseURL + 'admin/user/updUserPWD';
const userDetail = baseURL + 'admin/user/';
const userDel = baseURL + 'admin/user/';

//good
const goodDel = baseURL + 'admin/product/delete/';
const goodEdit = baseURL + 'admin/product/edit';
const goodList = baseURL + 'admin/product/page';
const goodShelves = baseURL + 'admin/product/shelves';
const goodDetail = baseURL + 'admin/product/';

//商品品牌
const brandDel = baseURL+ 'admin/brand/delete';
const brandEdit = baseURL + 'admin/brand/edit';
const brandList = baseURL + 'admin/brand/page';
const brandDetail = baseURL + 'admin/brand/';

//管理员角色
const roleList = baseURL + 'admin/role/page';
const roleSave = baseURL + 'admin/role/save';
const roleDetail = baseURL + 'admin/role/';
const roleDel = baseURL + 'admin/role/';

//banner图
const bannerDels = baseURL + 'admin/index/banner/delete/';
const bannerList = baseURL + 'admin/index/banner/page';
const bannerRebate = baseURL + 'admin/index/banner/rebate/';
const bannerSave = baseURL + 'admin/index/banner/save';
const bannerDetail = baseURL + 'admin/index/banner/';

//商品分类
const categoryEdit = baseURL + 'admin/category/edit';
const categoryEnable = baseURL + 'admin/category/enable/';
const categoryList = baseURL + 'admin/category/page';
const categoryDetail = baseURL + 'admin/category/';
const categoryAuditList = baseURL + 'admin/category/category/audit/page';
const categoryAudit = baseURL + 'admin/category/category/audit/';
const categoryIndex = baseURL + 'admin/category/index/category';
const categoryIndexDel = baseURL + 'admin/category/index/category/deleted/';
const categoryIndexDetail = baseURL + 'admin/category/index/category/detail/';
const categoryIndexEdit = baseURL + 'admin/category/indexCategoryEdit';


//商户相关
const storeClearEdit = baseURL+'admin/store/clear/edit';
const storeClearDetail = baseURL+'admin/store/clear/';
const storeContractEdit = baseURL+'admin/store/contract/edit';
const storeContractDetail = baseURL+'admin/store/contract/';
const storeDel = baseURL+'admin/store/contract/delete/';
const storeEdit = baseURL+'admin/store/edit';
const storeLevelDel = baseURL+'admin/store/level/delete/';
const storeLevelEdit = baseURL+'admin/store/level/edit';
const storeLevelList = baseURL+'admin/store/level/page';
const storeList = baseURL+'admin/store/page';
const storeShelves = baseURL+'admin/store/shelves';
const storeDetail = baseURL+'admin/store/';

//商户申请
const storeApplyDel = baseURL + 'admin/store/apply/delete/';
const storeApplyEdit = baseURL + 'admin/store/apply/edit';
const storeApplyList = baseURL + 'admin/store/apply/page';
const storeApplyStatus = baseURL + 'admin/store/apply/updStatus';
const storeApplyDetail = baseURL + 'admin/store/apply/';

//消息管理
const messagePage = baseURL+'admin/message/page';
const messageDel = baseURL+'admin/message/delete/';
const messageSend = baseURL+'admin/message/send/';
const messageSave = baseURL+'admin/message/edit';
const messageDetail = baseURL+'admin/message/';

//财务管理
const storeAmountPage = baseURL+'admin/store/amount/page';

//会员管理
const appUserPage = baseURL+'admin/app/user/page';
const appUseEdit = baseURL+'admin/app/user/edit';
const appUseByid = baseURL+'admin/app/user/';

//配送管理
const deliveryPage = baseURL+'admin/delivery/mode/page';
const deliveryByid = baseURL+'admin/delivery/mode/';
const deliveryDelete = baseURL+'admin/delivery/mode/delete';
const deliveryEdit = baseURL+'admin/delivery/mode/edit';

//活动相关
const actiDel = baseURL + 'admin/operation/activity/delete/';
const actiEdit = baseURL + 'admin/operation/activity/edit';
const actiList = baseURL + 'admin/operation/activity/page';
const actiShelves = baseURL + 'admin/operation/activity/shelves';
const actiDetail = baseURL + 'admin/operation/activity/';

//秒杀
const seckillDel = baseURL + 'admin/operation/seckill/delete/';
const seckillEdit = baseURL + 'admin/operation/seckill/edit';
const seckillList = baseURL + 'admin/operation/seckill/page';
const seckillShelves = baseURL + 'admin/operation/seckill/shelves';
const seckillDetail = baseURL + 'admin/operation/seckill/';

//首页banner
const bannerOpeDel = baseURL + 'admin/operation/index/banner/delete/';
const bannerOpeList = baseURL + 'admin/operation/index/banner/page';
const bannerOpeEdit = baseURL + 'admin/operation/index/banner/save';
const bannerOpeDetail = baseURL + 'admin/operation/index/banner/';

//优惠券
const couponDel = baseURL + 'admin/coupon/delete/';
const couponEdit = baseURL + 'admin/coupon/edit';
const couponList = baseURL+ 'admin/coupon/page';
const couponSend = baseURL + 'admin/coupon/send';
const couponStand = baseURL + 'admin/coupon/stand/';
const couponDetail = baseURL + 'admin/coupon/';

//订单
const orderPage = baseURL + 'admin/order/page';
const orderSend = baseURL + 'admin/order/orderSend';
const orderCancel = baseURL + 'admin/order/cancel/admin/';
const orderById = baseURL + 'admin/order/';
const evaluationPage = baseURL + 'admin/evaluation/page';
const evaluationDel = baseURL + 'admin/evaluation/delete/';
const refundPage = baseURL + 'admin/refund/page';
const refundAudit = baseURL + 'admin/refund/audit/';
const refundAConfrim = baseURL + 'admin/refund/confirm/';
const refundSendback = baseURL + 'admin/refund/sendBack';
const refundByid = baseURL + 'admin/refund/';

//等级
const levelList = baseURL + 'admin/app/member/level/findList';
const levelSave = baseURL + 'admin/app/member/level/save';
const levelDel = baseURL + 'admin/app/member/level/';

//获取积分设置信息
const findCreditset = baseURL + 'admin/index/banner/findCreditset';
const creditsetSave = baseURL + 'admin/index/banner/creditset/save';

//上传
const adminUpload = baseURL + 'base/admin/getOSSUploadUrl/'

export default {
  adminUpload,
  login, enable, logout, userList, userSave, userPassword, userDetail, userDel,
  goodDel, goodEdit, goodList, goodShelves, goodDetail,
  brandDel, brandEdit, brandList, brandDetail,
  roleList, roleSave, roleDetail, roleDel,
  bannerDels, bannerList, bannerRebate, bannerSave, bannerDetail,
  categoryEdit, categoryEnable, categoryList, categoryDetail,
  categoryAuditList, categoryAudit,categoryIndex,categoryIndexDel,categoryIndexDetail,categoryIndexEdit,
  storeClearEdit, storeClearDetail, storeContractEdit, storeContractDetail, storeDel,storeEdit, storeLevelDel,
  storeLevelEdit, storeLevelList, storeList, storeShelves, storeDetail,
  messagePage,messageDel,messageSend,messageSave,messageDetail,
  storeAmountPage,
  appUserPage,appUseEdit,appUseByid,
  deliveryPage,deliveryByid,deliveryDelete,deliveryEdit,
  storeApplyDel, storeApplyEdit, storeApplyList, storeApplyStatus, storeApplyDetail,
  actiDel, actiEdit, actiList, actiShelves, actiDetail,
  seckillDel, seckillEdit, seckillList, seckillShelves, seckillDetail,
  bannerOpeDel, bannerOpeList, bannerOpeEdit, bannerOpeDetail,
  couponDel, couponEdit, couponList, couponSend, couponStand, couponDetail,
  orderPage,orderCancel,orderSend,orderById,refundPage,refundAudit,refundAConfrim,refundSendback,refundByid,
  levelList,levelSave,levelDel,
  evaluationPage,evaluationDel,creditsetSave,findCreditset
}
